package com.ocom.common.entity.human;


import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "mj_kaoqin")
public class EntityMjKaoqin implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long comId;

    @JsonProperty("pId")
    @TableField("p_id")
    private Long pId;

    private Long deptId;

    private Integer areaId;
    private Integer state;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+08")
    private Date createDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;


    private Integer timer;

}
